﻿using System;
using System.Collections.Generic;
using Tisonet.Dobrak.Domain.Models;

namespace Tisonet.Dobrak.Client.WP8.Services.Projections
{
    public class ProjectionsService : IProjectionsService
    {
        private readonly IProjectionsProvider _provider;

        public ProjectionsService(IProjectionsProvider provider)
        {
            _provider = provider;
        }

        public void GetProjectionsAsync(Action<IEnumerable<Projection>> onReady)
        {
           _provider.GetProjectionsAsync(onReady);
          
        }
    }
}
